html,body{
    padding: 0;
    margin: 0;
    width: 100%;
}
#app {
    font-family: "Avenir", Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #2c3e50;
    height: 100%;
}
div,h1,h2,h3,h4,h5,p,ul,li,section{
    box-sizing: border-box;
    margin: 0;
    padding:0;
    font-weight: 500;
}
ul,li{
    list-style: none;
}
code{
    font-size: 16px;
    padding: 5px 10px 10px 10px;
    display: block;
    font-weight: 600;
}
a{
    text-decoration: none;
}
img{
    vertical-align: middle;
    border-style: none;
}
.clearfix:after {
    content: '';
    height: 0;
    display: block;
    clear: both;
}
.clearfix{
    zoom: 1;
}
.f-left{
    float: left;
}
.f-right{
    float: right;
}
.ft12{
    font-size: 12px;
}
.ft14{
    font-size: 14px;
}
.ft16{
    font-size: 16px;
}
.ft20{
    font-size: 20px;
}
.ml10{
    margin-left: 10px;
}
.mt10{
    margin-top: 10px;
}
.mr10{
    margin-right: 10px;
}
.mb10{
    margin-bottom: 10px;
}
.text-center{
    text-align: center !important;
}
.el-step__icon.is-text{
    border:none;
    padding: 0 5px;
}
.el-step__icon{
    width: auto !important;
}
// 弹出窗样式
.el-dialog__header{
    padding: 15px;
    background-color: #f1f1f1;
    border-bottom: 1px solid #e9ecef;
    .el-dialog__title{
        font-size: 16px;
    }
}
.el-dialog__body{
    padding: 15px 15px 15px 30px;
}

.row-fluid{
    background-color: #F5F5F5;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-box-shadow: inset 0 1px 13px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: inset 0 1px 13px rgba(0, 0, 0, 0.1);
    box-shadow: inset 0 1px 13px rgba(0, 0, 0, 0.1);
    border: 1px solid #DDDDDD;
    border-radius: 4px 4px 4px 4px;
    margin: 15px 0;
    position: relative;
    padding: 15px 14px 0;
    overflow: auto;
    min-height: 150px;
    &:hover{
        >.row-remove{
            opacity: 0.9;
        }
        >.row-edit{
            opacity: 0.9;
        }
    }
    
}
.row-column {
    background-color: #FFFFFF;
    border: 1px solid #DDDDDD;
    border-radius: 4px 4px 4px 4px;
    margin: 15px 0;
    padding: 16px 19px 24px;
    position: relative;
    min-height: 80px;
}
.row-tag{
    background-color: #F5F5F5;
    border: 1px solid #DDDDDD;
    border-radius: 4px 0 4px 0;
    color: #9DA0A4;
    content: "Container";
    font-size: 12px;
    font-weight: bold;
    left: -1px;
    padding: 3px 7px;
    position: absolute;
    top: -1px;
}
.label{
    display: inline-block;
    padding: 3px 4px;
    font-size: 12px;
    font-weight: bold;
    line-height: 14px;
    color: #ffffff;
    vertical-align: baseline;
    white-space: nowrap;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    background-color: #999999;
    border-radius: 2px;
    opacity: 0.1;
    -webkit-transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -ms-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 500ms ease;
    z-index: 10;
    position: absolute;
    .iconfont{
        font-size: 12px;
    }
}
.row-move{
    top: 5px;
    right: 80px;
    
}
.row-remove{
    top: 5px;
    right: 5px;
    background-color: #953b39;
    
    cursor: pointer;
}
.row-edit{
    top: 5px;
    right: 70px;
    background-color: #666;
    cursor: pointer;
}
.child-drag-box{
    min-height: 50px;
}

//  右侧设置组件样式
.setComponent{
    .form-item +.form-item{
        margin-top: 10px;
    }
    .el-switch__label{
        color:#fff;
    }
    .form-item{       
        label{
            display: block;
            padding: 5px;
            font-size: 12px;
            font-weight: 600;
            color:#fff;
        }
        
        input,textarea{
            width: 100%;
            box-sizing: border-box;
            background: hsla(0,0%,100%,.1);
            border: 1px solid hsla(0,0%,100%,.6);
            color: #fff;
            padding: 6px 10px;
            border-radius: 2px;
            outline: none;
            font-size: 12px;
            margin-top: 0;
        }
        input{
            height: 30px;
        }
        .el-input-number{
            line-height: 30px;
            width: 100%;
            .el-input-number__decrease, .el-input-number__increase{
                width: 30px;
                border-radius: 0;
                background: hsla(0, 0%, 100%, 0.1);
                color:#fff;
            }
        }
        .el-input__prefix{
            line-height: 50px;
        }
        .el-input__suffix{
            line-height: 50px;
        }
        .is-focus .el-input__suffix{
            line-height: 30px;
        }
        textarea:focus,input:focus {
            background: rgba(255,255,255,0);
            border: 1px solid #1890ff;
        }
        textarea{
            height: 240px;
        }
        .el-button{
            margin-left:2px;
            margin-top: 5px;
        }
    }
    .el-switch{
        margin: 10px 0;
    }
    .margin-box{
        position: relative;
        width: 100%;
        height: 90px;
        input{
            position: absolute;
            width: 50px !important;
            height:30px !important;
        }
        .left{
            left: 0;
            top: 50%;
            margin-top: -15px;
        }
        .right{
            right: 0;
            top: 50%;
            margin-top: -15px;
        }
        .top{
            left: 50%;
            top: 0px;
            margin-left: -25px;
        }
        .bottom{
            left: 50%;
            bottom: 10px;
            margin-left: -25px;
        }
    }
}
.setLayout{
    .form-item +.form-item{
        margin-top: 0px;
    }
    .form-item{ 
        width: 400px;
        text-align: center;
        label{           
            color: #666;
        }
        .el-input-number{
            position: absolute;
            height: 40px;
            width: 120px;
            .el-input-number__decrease, .el-input-number__increase{
                width: 30px;
            }
        }
        .margin-box{
            position: relative;
            width: 100%;
            height: 120px;
            .left{
                left: 0;
                top: 50%;
                margin-top: -20px;
            }
            .right{
                right: 0;
                top: 50%;
                margin-top: -20px;
            }
            .top{
                left: 50%;
                top: 0px;
                margin-left: -60px;
            }
            .bottom{
                left: 50%;
                bottom: 10px;
                margin-left: -60px;
            }
        }
    }
}

.app-preview{
    height: calc(100% - 60px);
    overflow-y: auto; 
    width: calc(100% - 400px);
    position: fixed;
    top:60px;
    left: 200px;
    background: #fff;
    padding: 10px;
    .dragClass{
        background: skyblue !important;
    }
 }
 .preview-container,.drag-box{
     width: 100%;
     min-height: 100px;
 }
 .preview-container{
     padding: 30px 15px 15px;
     border: 1px solid #DDDDDD;
     border-radius: 4px;
     position: relative;
     word-wrap: break-word;
     height: auto;
     min-height:100%;
 }
 .child-component{
     padding-top: 28px;
     font-size: 12px;
     position: relative;
     cursor: pointer;
     &:hover{
         >.row-remove{
             opacity: 0.9;
         }
         >.row-edit{
             opacity: 0.9;
         }
     }
 }
// //  引导页样式
div#driver-highlighted-element-stage{
    background: rgba(255,255,255,0.1) !important;
    border: 3px solid #fff !important;
}
.el-menu.el-menu--horizontal{
    border-bottom: none;
}